package com.example.demo.dao.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import com.example.demo.entity.Users;

/**
 * @author Buer
 * @update 2021/4/25/02523:41
 */
@Component
public interface ActivityRepository extends JpaRepository<Users, String> {
    /** 查询活动 */
    public Users findByIdAndPassword(String userId, String userPassword);
}
